﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("查询狗还是鱼?");
            string Animals = Console.ReadLine();

            if (Animals.Equals("狗"))
            {
                Dog dog = new Dog();
                Console.WriteLine("请输入狗的名字：");
                Console.ReadLine();

                Console.WriteLine("请输入狗的颜色：");
                Console.ReadLine();
                dog.Mobile();
            }
            if (Animals.Equals("猫"))
            {
                Fish fish = new Fish();
                Console.WriteLine("请输入猫的名字：");
                Console.ReadLine();
                Console.WriteLine("请输入猫的颜色：");
                Console.ReadLine();
                fish.Mobile();
            }

        }
    }
}
